package com.sunq.studio.sys.dao;

import com.sunq.studio.sys.domain.TbClass;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface TbClassDao {


    int deleteByPrimaryKey(Integer id);

    int insert(TbClass record);

    int insertSelective(TbClass record);

    List<TbClass> selectAllClass ();

    TbClass selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbClass record);

     Integer selectMAXClass(@Param("price")BigDecimal price);


}